/**
 * 路由控制层
 */
const express = require('express')
const router = express.Router()
const BlogDao = require('../model/BlogDao')

//首页
router.get('/', (req, res) => {
    res.render('home/index.html', {})
})

//关于我们
router.get('/about', (req, res) => {
        res.render('home/about.html', {})
    })
    //传智招聘
router.get('/join', (req, res) => {
    res.render('home/join.html', {})
})


//测试一下

//导出路由
module.exports = router;

// BlogDao.queryuser(function(e) {
//     console.log(e);
// })